<form id="add-form" class="form-horizontal" style="position:relative;background: #fff" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" id="c-id" name="row[id]" value="" class="form-control" data-rule="" data-tip="订单ID"  />

                   <div class="form-group">
                        <label for="c-school_id" class="control-label col-xs-12 col-sm-2">学校地址ID :</label>
                        <div class="col-xs-12 col-sm-8" id="div-school_id">
                           <select name="row[school_id]" id="c-school_id"  class="form-control"  >
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-table_id" class="control-label col-xs-12 col-sm-2">课程ID :</label>
                        <div class="col-xs-12 col-sm-8" id="div-table_id">
                           <select name="row[table_id]" id="c-table_id"  class="form-control"  >
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-classes_id" class="control-label col-xs-12 col-sm-2">班级ID :</label>
                        <div class="col-xs-12 col-sm-8" id="div-classes_id">
                           <select name="row[classes_id]" id="c-classes_id"  class="form-control"  >
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-user_id" class="control-label col-xs-12 col-sm-2">学员ID :</label>
                        <div class="col-xs-12 col-sm-8" id="div-user_id">
                           <select name="row[user_id]" id="c-user_id"  class="form-control"  >
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-amount" class="control-label col-xs-12 col-sm-2">金额 :</label>
                        <div class="col-xs-12 col-sm-8" id="div-amount">
                            <input type="number" id="c-amount" name="row[amount]" value="" class="form-control" title="amount" data-rule="number" step="0.01" placeholder="请输入金额，支持两位小数"  data-tip="金额 "  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-payment_status" class="control-label col-xs-12 col-sm-2">支付状态 :</label>
                        <div class="col-xs-12 col-sm-8" id="div-payment_status">
                           <select name="row[payment_status]" id="c-payment_status"  class="form-control selectpicker"  data-rule=""  >
                               <option value="0">未支付</option>
                               <option value="1">已支付</option>
                           </select>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
                        <div class="col-xs-12 col-sm-8" id="div-status">                    
                            <input id="c-status" name="row[status]" type="hidden" value="1">
                            <a href="javascript:;" data-toggle="switcher" class="btn-switcher active" data-input-id="c-status" data-yes="1" data-no="0">
                                <i class="fa fa-toggle-on text-success fa-2x"></i>
                            </a>
                            <div data-favisible="switch=1" class="p-3">已开户</div>
                            <div data-favisible="switch=0" class="p-3">关闭</div>
                        </div>
                   </div>
                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>



